<?php
namespace Erp\Controller;
use Think\Controller;
use Erp\C\Orders;
use Erp\C\Xpublic;
use Erp\Model;
use Fn;
use Erp\C\Orders\Tn;
// use Erp\C\Orders\Tn\ShippingTn;
class LogisticsController  extends Controller {
	public function __call($a,$b){

    }
	/**
	 * 合并order信息
	 * @param init $o_id
	 */
	public function createDataFile() {
		$combinOrderInfo =  array (
			'orders_id' => '1218229863',
			'orders_original_id' => '91641546445671',
			'orders_split_id' => '0',
			'orders_platform' => 'AL',
			'orders_shop_name' => 'AL_eGizmo',
			'orders_site' => 'AL',
			'orders_status' => '100',
			'orders_status_children' => '99',
			'orders_payment_status' => '1',
			'orders_customer_email' => '0',
			'orders_customer_id' => 'Nicola Keller',
			'orders_customer_key' => '',
			'customer_is_big' => '1',
			'orders_import_time' => '1525244977',
			'orders_import_date' => '2018-05-02',
			'orders_date' => '2018-05-01',
			'orders_time' => '1525168081',
			'orders_price_usd' => '24.0000',
			'orders_shipping_method_original' => 'China Post Registered Air Mail',
			'orders_shipping_method' => 'YTPY',
			'orders_shipping_country_iso' => 'UK',
			'orders_tn' => '96650009656',
			'orders_locked' => '0',
			'orders_has_tn' => '2',
			'orders_deliver_times' => '1',
			'orders_allow_partial_deliver' => '1',
			'orders_transaction_id' => '',
			'orders_warehouse_id' => 'DG',
			'orders_process_tag' => '0',
			'orders_pdf_exist' => '1',
			'orders_product_type' => '1',
			'orders_product_total_sum' => '1',
			'orders_is_pda' => '9',
			'orders_submit_date' => '0000-00-00',
			'orders_tags_code' => '',
			'orders_delivery_name' => 'Nicola Keller',
			'orders_delivery_address' => '32 Kempsford Gardens ,basement Flat',
			'orders_delivery_address2' => '',
			'orders_delivery_state' => 'Bern',
			'orders_delivery_tel' => '0792222222',
			'orders_delivery_postcode' => 'SW5 9LH',
			'orders_delivery_city' => 'Walliswil bei Niederbipp',
			'orders_delivery_country_iso' => 'UK',
			'orders_delivery_country' => 'United Kingdom',
			'orders_price' => '24.0000',
			'orders_procedure_fee_usd' => '0.66',
			'orders_split_price_usd' => '12.0000',
			'orders_currency' => 'USD',
			'orders_currency_rate' => '1.0000',
			'orders_currency_rate_usd2cny' => '6.2969',
			'orders_shipping_estimated_fee' => '64.00',
			'orders_shipping_fee' => '64.00',
			'orders_package_fee' => '0.40',
			'order_cost' => '48.00',
			'orders_weight' => '0.06000',
			'orders_estimated_weight' => '0.06000',
			'orders_net_weight' => '0.04300',
			'orders_remark' => '',
			'orders_import_sign' => 'a673ec5bcec490b890a3527066c67296',
			'orders_real_fee' => '0.00',
			'orders_reality_weight' => '0.00000',
			'orders_items' => 
			array (
				0 => 
				array (
					'orders_product_id' => '1231260356',
					'orders_id' => '1218229863',
					'product_id' => '79886',
					'product_attr_code' => '1',
					'item_id' => '32711666264',
					'orders_product_name' => 'New mSATA SSD Dual Port To SATA II Adapter Card With PCI-e Bracket #79886',
					'orders_product_quantity' => '1',
					'orders_product_refund_status' => '1',
					'orders_product_status' => '1',
					'orders_product_locking_qty' => '0',
					'orders_product_exwarehouse' => '0',
					'orders_item_id' => '91641546445671',
					'orders_item_total_price_usd' => '12.00',
					'orders_item_sku' => '79886|01|01',
					'orders_item_unit_qty' => '1',
					'product_print_remark' => '',
					'orders_item_org_sku' => '79886|01|01',
					'product_cost' => '48.00',
					'product_is_uninventory' => '0',
					),
				),
			);
		F('combinOrderInfo',$combinOrderInfo);

		$getOrders =  array (
			0 => 
			array (
				'orders_id' => '1218229863',
				'orders_original_id' => '91641546445671',
				'orders_split_id' => '0',
				'orders_platform' => 'AL',
				'orders_shop_name' => 'AL_eGizmo',
				'orders_site' => 'AL',
				'orders_status' => '100',
				'orders_status_children' => '99',
				'orders_payment_status' => '1',
				'orders_customer_email' => '0',
				'orders_customer_id' => 'Nicola Keller',
				'orders_customer_key' => '',
				'customer_is_big' => '1',
				'orders_import_time' => '1525244977',
				'orders_import_date' => '2018-05-02',
				'orders_date' => '2018-05-01',
				'orders_time' => '1525168081',
				'orders_price_usd' => '24.0000',
				'orders_shipping_method_original' => 'China Post Registered Air Mail',
				'orders_shipping_method' => 'YTPY',
				'orders_shipping_country_iso' => 'UK',
				'orders_tn' => '96650009656',
				'orders_locked' => '0',
				'orders_has_tn' => '2',
				'orders_deliver_times' => '1',
				'orders_allow_partial_deliver' => '1',
				'orders_transaction_id' => '91641546445671',
				'orders_warehouse_id' => 'DG',
				'orders_process_tag' => '0',
				'orders_pdf_exist' => '1',
				'orders_product_type' => '1',
				'orders_product_total_sum' => '1',
				'orders_is_pda' => '9',
				'orders_submit_date' => '0000-00-00',
				'orders_tags_code' => '',
				),
			);
		F('getOrders',$getOrders);

		$getOrdersShipping = array (
			0 =>
			array (
				'shipping_method_code' => 'EUB_WSSH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'E邮宝万色上海',
				'shipping_method_type' => 'EUB',
				),
			1 =>
			array (
				'shipping_method_code' => 'SGPOST_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '新加坡邮政小包挂号',
				'shipping_method_type' => 'DSF',
				),
			2 =>
			array (
				'shipping_method_code' => 'YWHK_TN',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文香港小包挂号-义乌仓',
				'shipping_method_type' => 'YW',
				),
			3 =>
			array (
				'shipping_method_code' => 'YWHK',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文航空小包平邮（特货）',
				'shipping_method_type' => 'YW',
				),
			4 =>
			array (
				'shipping_method_code' => 'YDX',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'Yodel英国小包（不含电）',
				'shipping_method_type' => 'YW',
				),
			5 =>
			array (
				'shipping_method_code' => 'YDHDX',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'Yodel英国小包（含电）',
				'shipping_method_type' => 'YW',
				),
			6 =>
			array (
				'shipping_method_code' => 'YWSE',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文瑞典邮政小包平邮(含电)',
				'shipping_method_type' => 'YW',
				),
			7 =>
			array (
				'shipping_method_code' => 'YYB',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕邮宝平邮',
				'shipping_method_type' => 'YW',
				),
			8 =>
			array (
				'shipping_method_code' => 'YYB_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕邮宝挂号',
				'shipping_method_type' => 'YW',
				),
			9 =>
			array (
				'shipping_method_code' => 'EUB_DG',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东莞EUB',
				'shipping_method_type' => 'APAC',
				),
			10 =>
			array (
				'shipping_method_code' => 'DGPT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '东莞中邮小包平邮',
				'shipping_method_type' => 'CP',
				),
			11 =>
			array (
				'shipping_method_code' => 'DG_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东莞中邮小包挂号',
				'shipping_method_type' => 'CP',
				),
			12 =>
			array (
				'shipping_method_code' => 'CFUS',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '美国海外仓',
				'shipping_method_type' => 'CF',
				),
			13 =>
			array (
				'shipping_method_code' => 'EUB_FJ',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '福建EUB',
				'shipping_method_type' => 'APAC',
				),
			14 =>
			array (
				'shipping_method_code' => 'DHL',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'DHL',
				'shipping_method_type' => 'DSF',
				),
			15 =>
			array (
				'shipping_method_code' => 'WPT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'wish平邮',
				'shipping_method_type' => 'WISH',
				),
			16 =>
			array (
				'shipping_method_code' => 'WPT_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'wish挂号',
				'shipping_method_type' => 'WISH',
				),
			17 =>
			array (
				'shipping_method_code' => 'DG_EMS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东莞EMS',
				'shipping_method_type' => 'CF',
				),
			18 =>
			array (
				'shipping_method_code' => 'EYB_FJXX',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '线下EUB',
				'shipping_method_type' => 'EYB',
				),
			19 =>
			array (
				'shipping_method_code' => 'DHLS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'DHLS',
				'shipping_method_type' => 'DSF',
				),
			20 =>
			array (
				'shipping_method_code' => 'YWMY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文马邮小包平邮',
				'shipping_method_type' => 'YW',
				),
			21 =>
			array (
				'shipping_method_code' => 'YWMY_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文马邮小包挂号',
				'shipping_method_type' => 'YW',
				),
			22 =>
			array (
				'shipping_method_code' => 'LGS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'LGS快递',
				'shipping_method_type' => 'LAZADA',
				),
			23 =>
			array (
				'shipping_method_code' => 'LWGH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '老挝邮政小包挂号',
				'shipping_method_type' => 'TY',
				),
			24 =>
			array (
				'shipping_method_code' => 'YWHL',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文荷兰邮政小包平邮',
				'shipping_method_type' => 'YW',
				),
			25 =>
			array (
				'shipping_method_code' => 'YWHL_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文荷兰邮政小包挂号',
				'shipping_method_type' => 'YW',
				),
			26 =>
			array (
				'shipping_method_code' => 'YWRU_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文俄罗斯专线小包',
				'shipping_method_type' => 'YW',
				),
			27 =>
			array (
				'shipping_method_code' => 'SGPLUS',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '新加坡邮政小包平邮+',
				'shipping_method_type' => 'DSF',
				),
			28 =>
			array (
				'shipping_method_code' => 'CNPT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上中邮小包平邮+',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			29 =>
			array (
				'shipping_method_code' => 'SYXB',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上4PX新邮小包平邮',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			30 =>
			array (
				'shipping_method_code' => 'LWCT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '老挝邮政小包平邮(纯电池)',
				'shipping_method_type' => 'TY',
				),
			31 =>
			array (
				'shipping_method_code' => 'GEPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文德国邮政小包平邮(香港不含电)',
				'shipping_method_type' => 'YW',
				),
			32 =>
			array (
				'shipping_method_code' => 'CFRU',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '俄罗斯海外仓',
				'shipping_method_type' => 'CF',
				),
			33 =>
			array (
				'shipping_method_code' => 'GEPY_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文德国邮政小包挂号(香港不含电)',
				'shipping_method_type' => 'YW',
				),
			34 =>
			array (
				'shipping_method_code' => 'HLYT_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '荷兰邮政小包挂号(液体)',
				'shipping_method_type' => 'ERP',
				),
			35 =>
			array (
				'shipping_method_code' => 'GEHD',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文德国邮政小包平邮(香港含电)',
				'shipping_method_type' => 'YW',
				),
			36 =>
			array (
				'shipping_method_code' => 'YWSE_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文瑞典邮政小包挂号(含电)',
				'shipping_method_type' => 'YW',
				),
			37 =>
			array (
				'shipping_method_code' => 'GEHD_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文德国邮政小包挂号(香港含电)',
				'shipping_method_type' => 'YW',
				),
			38 =>
			array (
				'shipping_method_code' => 'YWHLP',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文荷兰邮政小包平邮(含电)',
				'shipping_method_type' => 'YW',
				),
			39 =>
			array (
				'shipping_method_code' => 'YWHLP_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文荷兰邮政小包挂号(含电)',
				'shipping_method_type' => 'YW',
				),
			40 =>
			array (
				'shipping_method_code' => 'ALISY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上顺友小包平邮(液体)',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			41 =>
			array (
				'shipping_method_code' => 'TR_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文土耳其小包挂号',
				'shipping_method_type' => 'YW',
				),
			42 =>
			array (
				'shipping_method_code' => 'TRPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文土耳其小包平邮',
				'shipping_method_type' => 'YW',
				),
			43 =>
			array (
				'shipping_method_code' => 'YWCS_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文常熟中邮小包挂号',
				'shipping_method_type' => 'YW',
				),
			44 =>
			array (
				'shipping_method_code' => 'YWCS',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文常熟中邮小包平邮',
				'shipping_method_type' => 'YW',
				),
			45 =>
			array (
				'shipping_method_code' => 'LWE',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'LWE快递',
				'shipping_method_type' => 'LWE',
				),
			46 =>
			array (
				'shipping_method_code' => 'SPLWE',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SPLWE快递',
				'shipping_method_type' => 'LWE',
				),
			47 =>
			array (
				'shipping_method_code' => 'EUB_DGXX',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东莞线下EUB',
				'shipping_method_type' => 'EYB',
				),
			48 =>
			array (
				'shipping_method_code' => 'YWCQPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文重庆小包平邮',
				'shipping_method_type' => 'YW',
				),
			49 =>
			array (
				'shipping_method_code' => 'YWCQ_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文重庆小包挂号',
				'shipping_method_type' => 'YW',
				),
			50 =>
			array (
				'shipping_method_code' => 'SPTW_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SP台湾圆通快递(店配)',
				'shipping_method_type' => 'ERP',
				),
			51 =>
			array (
				'shipping_method_code' => 'KMSH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'KM赛时快递',
				'shipping_method_type' => 'ERP',
				),
			52 =>
			array (
				'shipping_method_code' => 'JYOZT_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '捷优欧洲通小包挂号',
				'shipping_method_type' => 'ERP',
				),
			53 =>
			array (
				'shipping_method_code' => 'JYOZT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '捷优欧洲通小包平邮',
				'shipping_method_type' => 'ERP',
				),
			54 =>
			array (
				'shipping_method_code' => 'DBEPG_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '迪拜邮政小包挂号',
				'shipping_method_type' => 'ERP',
				),
			55 =>
			array (
				'shipping_method_code' => 'DGWISH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '东莞wish邮平邮',
				'shipping_method_type' => 'WISH',
				),
			56 =>
			array (
				'shipping_method_code' => 'USKD_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '出口易美国专线快递',
				'shipping_method_type' => 'CKY',
				),
			57 =>
			array (
				'shipping_method_code' => 'DGWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东莞wish邮挂号',
				'shipping_method_type' => 'WISH',
				),
			58 =>
			array (
				'shipping_method_code' => 'ALIXYPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上中外运西邮小包平邮',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			59 =>
			array (
				'shipping_method_code' => 'ALIRU',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上无忧俄罗斯小包平邮',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			60 =>
			array (
				'shipping_method_code' => 'SYBPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '顺邮宝平邮',
				'shipping_method_type' => 'SY',
				),
			61 =>
			array (
				'shipping_method_code' => 'SYB_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '顺邮宝挂号',
				'shipping_method_type' => 'SY',
				),
			62 =>
			array (
				'shipping_method_code' => 'ALIWY_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'Ali线上无忧挂号小包',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			63 =>
			array (
				'shipping_method_code' => 'BPOST',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '比利时邮政小包平邮',
				'shipping_method_type' => 'ERP',
				),
			64 =>
			array (
				'shipping_method_code' => 'SZWISH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '深圳wish邮平邮',
				'shipping_method_type' => 'WISH',
				),
			65 =>
			array (
				'shipping_method_code' => 'SZWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '深圳wish邮挂号',
				'shipping_method_type' => 'WISH',
				),
			66 =>
			array (
				'shipping_method_code' => 'DRUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '递四方美西海外仓',
				'shipping_method_type' => 'DSFOVERSEA',
				),
			67 =>
			array (
				'shipping_method_code' => 'EDS',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '万邑通eDS小包平邮',
				'shipping_method_type' => 'ISP',
				),
			68 =>
			array (
				'shipping_method_code' => 'ERUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '递四方美东海外仓',
				'shipping_method_type' => 'DSFOVERSEA',
				),
			69 =>
			array (
				'shipping_method_code' => 'SRUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '万邑通美南海外仓',
				'shipping_method_type' => 'ISPOVERSEA',
				),
			70 =>
			array (
				'shipping_method_code' => 'EBAYCNPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'eBay线上中邮小包平邮+',
				'shipping_method_type' => 'ISP',
				),
			71 =>
			array (
				'shipping_method_code' => 'SLS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SLS快递',
				'shipping_method_type' => 'ERP',
				),
			72 =>
			array (
				'shipping_method_code' => 'SPTWDP_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SP台湾圆通快递(宅配)',
				'shipping_method_type' => 'ERP',
				),
			73 =>
			array (
				'shipping_method_code' => 'SPID',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SP印尼海外仓',
				'shipping_method_type' => 'ERP',
				),
			74 =>
			array (
				'shipping_method_code' => 'FBA',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'FBA',
				'shipping_method_type' => 'ERP',
				),
			75 =>
			array (
				'shipping_method_code' => 'GZWISH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '广州Wish邮平邮',
				'shipping_method_type' => 'WISH',
				),
			76 =>
			array (
				'shipping_method_code' => 'GZWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '广州Wish邮挂号',
				'shipping_method_type' => 'WISH',
				),
			77 =>
			array (
				'shipping_method_code' => 'UBIYD_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '印度专线',
				'shipping_method_type' => 'DTDC',
				),
			78 =>
			array (
				'shipping_method_code' => 'OSTPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '欧速通平邮',
				'shipping_method_type' => 'OST',
				),
			79 =>
			array (
				'shipping_method_code' => 'WISHOZ_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'Wish邮欧洲小包挂号',
				'shipping_method_type' => 'WISH',
				),
			80 =>
			array (
				'shipping_method_code' => 'WISHOZ',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Wish邮欧洲小包平邮',
				'shipping_method_type' => 'WISH',
				),
			81 =>
			array (
				'shipping_method_code' => 'ALIYW',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上燕文航空经济小包平邮',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			82 =>
			array (
				'shipping_method_code' => 'ECRU_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '俄罗斯专线',
				'shipping_method_type' => 'DQ',
				),
			83 =>
			array (
				'shipping_method_code' => 'USPS',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'USPS',
				'shipping_method_type' => 'USPS',
				),
			84 =>
			array (
				'shipping_method_code' => 'EUB_CA',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '福建加拿大EUB',
				'shipping_method_type' => 'CEUB',
				),
			85 =>
			array (
				'shipping_method_code' => 'UBICA_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'UBI加拿大专线',
				'shipping_method_type' => 'UBI',
				),
			86 =>
			array (
				'shipping_method_code' => 'UBIAU_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'UBI澳洲专线',
				'shipping_method_type' => 'UBI',
				),
			87 =>
			array (
				'shipping_method_code' => 'JYTRPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '捷优土耳其小包平邮',
				'shipping_method_type' => 'ERP',
				),
			88 =>
			array (
				'shipping_method_code' => 'JYTR_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '捷优土耳其小包挂号',
				'shipping_method_type' => 'ERP',
				),
			89 =>
			array (
				'shipping_method_code' => 'SFCYD_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '三态印度专线',
				'shipping_method_type' => 'SFC',
				),
			90 =>
			array (
				'shipping_method_code' => 'YWEUB_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文北京线下EUB',
				'shipping_method_type' => 'YW',
				),
			91 =>
			array (
				'shipping_method_code' => 'GATI_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '迦递印度专线',
				'shipping_method_type' => 'GATI',
				),
			92 =>
			array (
				'shipping_method_code' => 'GATIHD_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '迦递印度专线（含电）',
				'shipping_method_type' => 'GATI',
				),
			93 =>
			array (
				'shipping_method_code' => 'GATIPH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '迦递印度专线（普货）',
				'shipping_method_type' => 'GATI',
				),
			94 =>
			array (
				'shipping_method_code' => 'IBUS_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'IB美国专线',
				'shipping_method_type' => 'IB',
				),
			95 =>
			array (
				'shipping_method_code' => 'FTWISHPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '飞特深圳wish邮平邮',
				'shipping_method_type' => 'WISH',
				),
			96 =>
			array (
				'shipping_method_code' => 'FTWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '飞特深圳wish邮挂号',
				'shipping_method_type' => 'WISH',
				),
			97 =>
			array (
				'shipping_method_code' => 'HL_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '华磊挂号',
				'shipping_method_type' => 'HL',
				),
			98 =>
			array (
				'shipping_method_code' => 'FTTGPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '飞特泰国邮政小包平邮(敏感)',
				'shipping_method_type' => 'FT',
				),
			99 =>
			array (
				'shipping_method_code' => 'EBAYMYPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'eBay线上马邮小包平邮',
				'shipping_method_type' => 'ISP',
				),
			100 =>
			array (
				'shipping_method_code' => 'BPOST_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '飞特比利时小包挂号',
				'shipping_method_type' => 'FT',
				),
			101 =>
			array (
				'shipping_method_code' => 'BPOSTEU',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '飞特欧洲比利时小包平邮',
				'shipping_method_type' => 'FT',
				),
			102 =>
			array (
				'shipping_method_code' => 'BPOSTTT',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '飞特TT比利时小包平邮',
				'shipping_method_type' => 'FT',
				),
			103 =>
			array (
				'shipping_method_code' => 'JYBPOST',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '捷优比利时小包平邮',
				'shipping_method_type' => 'ERP',
				),
			104 =>
			array (
				'shipping_method_code' => 'JYBPOST_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '捷优比利时小包挂号',
				'shipping_method_type' => 'ERP',
				),
			105 =>
			array (
				'shipping_method_code' => 'MDUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '万邑通美东海外仓',
				'shipping_method_type' => 'ISPOVERSEA',
				),
			106 =>
			array (
				'shipping_method_code' => 'SFPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '顺丰国际小包平邮',
				'shipping_method_type' => 'KTS',
				),
			107 =>
			array (
				'shipping_method_code' => 'YWNJWISH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文南京wish邮平邮',
				'shipping_method_type' => 'YW',
				),
			108 =>
			array (
				'shipping_method_code' => 'YWNJWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文南京wish邮挂号',
				'shipping_method_type' => 'YW',
				),
			109 =>
			array (
				'shipping_method_code' => 'SF_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '顺丰国际小包挂号',
				'shipping_method_type' => 'KTS',
				),
			110 =>
			array (
				'shipping_method_code' => 'OEPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'JOOM贯达俄罗斯小包平邮',
				'shipping_method_type' => 'GD',
				),
			111 =>
			array (
				'shipping_method_code' => 'OE_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'JOOM贯达俄罗斯小包挂号',
				'shipping_method_type' => 'GD',
				),
			112 =>
			array (
				'shipping_method_code' => 'TSEUBXS_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '天珅深圳线上EUB',
				'shipping_method_type' => 'APAC',
				),
			113 =>
			array (
				'shipping_method_code' => 'TSEUBXX_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '天珅深圳线下EUB',
				'shipping_method_type' => 'TMS',
				),
			114 =>
			array (
				'shipping_method_code' => 'UBIBYPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'eBay线上比利时小包平邮',
				'shipping_method_type' => 'UBI',
				),
			115 =>
			array (
				'shipping_method_code' => 'SLSPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'SLS经济小包',
				'shipping_method_type' => 'ERP',
				),
			116 =>
			array (
				'shipping_method_code' => 'TRPH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文土耳其小包挂号（普货）',
				'shipping_method_type' => 'YW',
				),
			117 =>
			array (
				'shipping_method_code' => 'OSUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'YYGJ美国专线',
				'shipping_method_type' => 'YYM',
				),
			118 =>
			array (
				'shipping_method_code' => 'WSLW_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'WISH线上老挝邮政小包挂号',
				'shipping_method_type' => 'TY',
				),
			119 =>
			array (
				'shipping_method_code' => 'SLSBZPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'SLS标准小包',
				'shipping_method_type' => 'SP',
				),
			120 =>
			array (
				'shipping_method_code' => 'YWEUBMG_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文北京线下EUB（敏感）',
				'shipping_method_type' => 'YW',
				),
			121 =>
			array (
				'shipping_method_code' => 'EUB_FR',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '福建法国EUB',
				'shipping_method_type' => 'CEUB',
				),
			122 =>
			array (
				'shipping_method_code' => 'USPS_LETTER',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'USPS First Class Letter',
				'shipping_method_type' => 'OW',
				),
			123 =>
			array (
				'shipping_method_code' => 'USPS_PARCEL',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS First Class Parcel',
				'shipping_method_type' => 'OW',
				),
			124 =>
			array (
				'shipping_method_code' => 'UPS_STANDARD',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'UPS Standard',
				'shipping_method_type' => 'OW',
				),
			125 =>
			array (
				'shipping_method_code' => 'UPS_SUREPOST',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'UPS Surepost',
				'shipping_method_type' => 'OW',
				),
			126 =>
			array (
				'shipping_method_code' => 'USPS_PME',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Flat Rate Envelope',
				'shipping_method_type' => 'OW',
				),
			127 =>
			array (
				'shipping_method_code' => 'USPS_PMRB_S',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Medium Flat Rate Boxes S',
				'shipping_method_type' => 'OW',
				),
			128 =>
			array (
				'shipping_method_code' => 'USPS_PMRB_L',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Medium Flat Rate Boxes L',
				'shipping_method_type' => 'OW',
				),
			129 =>
			array (
				'shipping_method_code' => 'USPS_PMLRB_S',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Large Flat Rate Boxes S',
				'shipping_method_type' => 'OW',
				),
			130 =>
			array (
				'shipping_method_code' => 'USPS_PMSRB',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Small Flat Rata Box',
				'shipping_method_type' => 'OW',
				),
			131 =>
			array (
				'shipping_method_code' => 'USPS_PMLRB_L',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Large Flat Rate Boxes L',
				'shipping_method_type' => 'OW',
				),
			132 =>
			array (
				'shipping_method_code' => 'USPS_PMRRB_A',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'USPS PM Regional Rate Box A',
				'shipping_method_type' => 'OW',
				),
			133 =>
			array (
				'shipping_method_code' => '4PXMD_USPS_PARCEL',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美东仓-USPS First Flass Parcel',
				'shipping_method_type' => 'OW',
				),
			134 =>
			array (
				'shipping_method_code' => '4PXMX_USPS_PARCEL',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美西仓-USPS First Flass Parcel',
				'shipping_method_type' => 'OW',
				),
			135 =>
			array (
				'shipping_method_code' => '4PXMD_UPS_STANDARD',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美东仓-UPS Standard',
				'shipping_method_type' => 'OW',
				),
			136 =>
			array (
				'shipping_method_code' => '4PXMX_UPS_SUREPOST',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美西仓-UPS Surepost',
				'shipping_method_type' => 'OW',
				),
			137 =>
			array (
				'shipping_method_code' => '4PXMX_UPS_STANDARD',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美西仓-UPS Standard',
				'shipping_method_type' => 'OW',
				),
			138 =>
			array (
				'shipping_method_code' => '4PXMD_UPS_SUREPOST',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '4PX美东仓-UPS Surepost',
				'shipping_method_type' => 'OW',
				),
			139 =>
			array (
				'shipping_method_code' => 'WSLWPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'WISH线上老挝小包平邮',
				'shipping_method_type' => 'TY',
				),
			140 =>
			array (
				'shipping_method_code' => 'YWXGPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文香港小包平邮',
				'shipping_method_type' => 'YW',
				),
			141 =>
			array (
				'shipping_method_code' => 'YWXG_TN',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文香港小包挂号',
				'shipping_method_type' => 'YW',
				),
			142 =>
			array (
				'shipping_method_code' => 'RYP_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文瑞邮派小包挂号',
				'shipping_method_type' => 'YW',
				),
			143 =>
			array (
				'shipping_method_code' => 'OEUS',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'YKD美国专线',
				'shipping_method_type' => 'YKD',
				),
			144 =>
			array (
				'shipping_method_code' => 'YWHKPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文香港小包平邮-义乌仓',
				'shipping_method_type' => 'YW',
				),
			145 =>
			array (
				'shipping_method_code' => 'YWHKPH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文航空小包平邮（普货）',
				'shipping_method_type' => 'YW',
				),
			146 =>
			array (
				'shipping_method_code' => 'YWHKPH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文航空小包挂号（普货）',
				'shipping_method_type' => 'YW',
				),
			147 =>
			array (
				'shipping_method_code' => 'YWXY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文西邮小包平邮',
				'shipping_method_type' => 'YW',
				),
			148 =>
			array (
				'shipping_method_code' => 'YWHLPH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文荷兰小包平邮（普货）',
				'shipping_method_type' => 'YW',
				),
			149 =>
			array (
				'shipping_method_code' => 'YWHLPH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文荷兰小包挂号（普货）',
				'shipping_method_type' => 'YW',
				),
			150 =>
			array (
				'shipping_method_code' => 'OSAU',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '澳大利亚平邮',
				'shipping_method_type' => 'HL',
				),
			151 =>
			array (
				'shipping_method_code' => 'OWAU',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '澳大利亚专线',
				'shipping_method_type' => 'HL',
				),
			152 =>
			array (
				'shipping_method_code' => 'SPAK_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SpeedPAK专线',
				'shipping_method_type' => 'EDIS',
				),
			153 =>
			array (
				'shipping_method_code' => 'ESTPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '俄速通平邮',
				'shipping_method_type' => 'EST',
				),
			154 =>
			array (
				'shipping_method_code' => 'EST_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '俄速通挂号',
				'shipping_method_type' => 'EST',
				),
			155 =>
			array (
				'shipping_method_code' => 'CNWP',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '大陆DHL',
				'shipping_method_type' => 'CNDHL',
				),
			156 =>
			array (
				'shipping_method_code' => 'FTTGPH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '飞特泰国邮政小包挂号（普货）',
				'shipping_method_type' => 'FT',
				),
			157 =>
			array (
				'shipping_method_code' => 'FTTGPYPH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '飞特泰国邮政小包平邮（普货）',
				'shipping_method_type' => 'FT',
				),
			158 =>
			array (
				'shipping_method_code' => 'BXZX_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '东擎巴西专线小包',
				'shipping_method_type' => 'DQ',
				),
			159 =>
			array (
				'shipping_method_code' => 'YWDHLJJPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文DHL经济小包平邮（香港）',
				'shipping_method_type' => 'YW',
				),
			160 =>
			array (
				'shipping_method_code' => 'YWSHEUB_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文上海线下EUB-义乌仓',
				'shipping_method_type' => 'YW',
				),
			161 =>
			array (
				'shipping_method_code' => 'SSBESGH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '顺速宝西班牙专线挂号',
				'shipping_method_type' => 'SY',
				),
			162 =>
			array (
				'shipping_method_code' => 'SSBESPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '顺速宝西班牙专线平邮',
				'shipping_method_type' => 'SY',
				),
			163 =>
			array (
				'shipping_method_code' => 'YWWISH',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '义乌wish邮平邮',
				'shipping_method_type' => 'WISH',
				),
			164 =>
			array (
				'shipping_method_code' => 'YWWISH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '义乌wish邮挂号',
				'shipping_method_type' => 'WISH',
				),
			165 =>
			array (
				'shipping_method_code' => 'ALIXYPYYW',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上中外运西邮经济小包-义乌',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			166 =>
			array (
				'shipping_method_code' => 'ALISZPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => 'Ali线上中邮小包平邮-义乌仓',
				'shipping_method_type' => 'ALIEXPRESS',
				),
			167 =>
			array (
				'shipping_method_code' => 'YWCHPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '义乌邮政小包平邮',
				'shipping_method_type' => 'CP',
				),
			168 =>
			array (
				'shipping_method_code' => 'YWCH_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '义乌邮政小包挂号',
				'shipping_method_type' => 'CP',
				),
			169 =>
			array (
				'shipping_method_code' => 'LGSYW',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'LGS快递-义乌仓',
				'shipping_method_type' => 'LAZADA',
				),
			170 =>
			array (
				'shipping_method_code' => 'OSUSYW',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'YYGJ美国专线-义乌仓',
				'shipping_method_type' => 'YYM',
				),
			171 =>
			array (
				'shipping_method_code' => 'SPTWDPYW_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SP台湾圆通快递(宅配)-义乌仓',
				'shipping_method_type' => 'ERP',
				),
			172 =>
			array (
				'shipping_method_code' => 'SPTWYW_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'SP台湾圆通快递(店配)-义乌仓',
				'shipping_method_type' => 'ERP',
				),
			173 =>
			array (
				'shipping_method_code' => 'EUB_YW',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '义乌EUB',
				'shipping_method_type' => 'APAC',
				),
			174 =>
			array (
				'shipping_method_code' => 'EUB_YWXX',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '义乌线下EUB',
				'shipping_method_type' => 'CEUB',
				),
			175 =>
			array (
				'shipping_method_code' => 'YWHKPHYW',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文航空小包平邮（普货）-义乌仓',
				'shipping_method_type' => 'YW',
				),
			176 =>
			array (
				'shipping_method_code' => 'YWHKPHYW_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文航空小包挂号（普货）-义乌仓',
				'shipping_method_type' => 'YW',
				),
			177 =>
			array (
				'shipping_method_code' => 'SEKO',
				'shipping_method_tn' => '1',
				'shipping_method_name' => 'JU-SEKO快递',
				'shipping_method_type' => 'JUMIA',
				),
			178 =>
			array (
				'shipping_method_code' => 'OSTGH',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '欧速通挂号',
				'shipping_method_type' => 'OST',
				),
			179 =>
			array (
				'shipping_method_code' => 'LWMGPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '老挝邮政小包平邮(敏感)',
				'shipping_method_type' => 'TY',
				),
			180 =>
			array (
				'shipping_method_code' => 'YTPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '云途快小包平邮',
				'shipping_method_type' => 'YT',
				),
			181 =>
			array (
				'shipping_method_code' => 'YWHKPYL',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '燕文航空专线平邮小包普货',
				'shipping_method_type' => 'YW',
				),
			182 =>
			array (
				'shipping_method_code' => 'YWHKZX_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '燕文航空专线追踪小包普货',
				'shipping_method_type' => 'YW',
				),
			183 =>
			array (
				'shipping_method_code' => 'YTPYYW',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '云途快小包平邮-义乌仓',
				'shipping_method_type' => 'YT',
				),
			184 =>
			array (
				'shipping_method_code' => 'WMBIN_TN',
				'shipping_method_tn' => '1',
				'shipping_method_name' => '外贸邦印度专线',
				'shipping_method_type' => 'WB',
				),
			184 =>
			array (
				'shipping_method_code' => 'AJPY',
				'shipping_method_tn' => '2',
				'shipping_method_name' => '安骏经济小包平邮',
				'shipping_method_type' => 'AJ',
				),
			);
        F('getOrdersShipping',$getOrdersShipping);

        $getProductInfo = array (
            'product_id' => '79886',
            'product_upc' => '',
            'product_name' => 'mSATA SSD Dual Port To SATA II Adapter Card With PCI-e Bracket',
            'product_english_name' => 'mSATA To SATA Adapter Card',
            'product_german_alias' => '',
            'product_french_alias' => '',
            'product_espagne_alias' => '',
            'product_italie_alias' => '',
            'product_chinese_alias' => '双MSATA TO SATA(带挡板)',
            'product_russian_alias' => '',
            'product_dir_id' => '1013',
            'product_model' => 'CG',
            'product_rack' => 'A20C07',
            'product_rack_stock_up' => '',
            'product_is_stock_up' => '0',
            'product_hot_level' => '1',
            'product_specification' => '11x12x1.8',
            'product_measure' => '20.00x20.00x10.00',
            'product_net_weight' => '0.043',
            'product_trans_weight' => '0.060',
            'product_wrap_weight' => '0.000',
            'arilmail_fee' => '0.0',
            'ems_fee' => '0.0',
            'product_cost' => '48.000',
            'product_net_cost' => '0.000',
            'product_shoot_level' => '2',
            'bic_price' => '11.49',
            'ebay_price' => '12.99',
            'ebay_price_gbp' => '9.09',
            'ebay_price_aud' => '18.09',
            'ebay_price_eur' => '',
            'ebay_discount' => '0.00',
            'product_buyer_id' => '26',
            'product_update' => '0',
            'product_add_time' => '1445650805',
            'product_putaway_time' => '1447983031',
            'product_profit' => '20',
            'product_memo' => '',
            'product_sell_memo' => '',
            'product_accessory_memo' => '',
            'product_manager_id' => '2',
            'product_manager_ae_id' => '0',
            'product_developer_id' => '116',
            'product_status' => '4',
            'product_key_word' => 'mSATA To SATA Adapter Card',
            'product_key_word_ge' => '',
            'product_min_unit' => '1',
            'product_is_use_ps' => '0',
            'product_is_tort' => '0',
            'product_is_forbidsell' => '0',
            'advise_buy_days' => '7',
            'predict_sell_days' => '7',
            'product_commerce_platform' => '0',
            'product_stock_up_area' => '',
            'product_deliver_package' => '0',
            'product_quality_grade' => '0',
            'product_quality_describe' => '',
            'product_quality_ratio' => '',
            'product_dvice_price' => '0.00',
            'product_reference_url1' => 'http://www.aliexpress.com/item/CY-Dual-Port-50mm-mini-PCI-E-mSATA-SSD-to-2-5-SATA-22pin-7pin-Hard/2046610755.html?spm=2114.01020208.3.26.3MrY8w&ws_ab_test=searchweb201556_3_79_78_77_91_80,searchweb201644_5,searchweb201560_9',
            'product_reference_url2' => '',
            'product_reference_url_other' => NULL,
            'product_is_encapsulation' => '0',
            'product_declaration_cn' => '电子产品',
            'product_declaration_en' => 'Electronic Products',
            'product_multi_title' => '',
            'product_suggest_platform' => '',
            'product_channels' => '',
            'product_packing_bag' => '',
            'product_is_hot' => '0',
            'product_is_reinforce' => '0',
            'product_is_pda' => '1',
            'product_packaging_sales' => '0',
            'product_extend_tag' => '[cp:WISH:2:948],[cp:EBAY:1:1109],[cp:AZ:1:394],[cp:WISH:1:1265],[cp:AL:1:1403],[DE:SALESWAREHOUSE:A]',
            'product_is_stock_inout' => '1',
            'product_is_detection' => '0',
            'product_is_examine' => '0',
            'product_warehouse' => '0',
            'warehouse_id' => '110',
            'product_warehouse_future' => '0',
            'product_hs_code' => '',
            'product_subproduct_qty' => '0',
            'product_type' => '0',
            );
        F('getProductInfo',$getProductInfo);

        $orders_shipping_extend  = array (
            'orders_id' => '',
            'extend_value' => '',
            'createtime' => '2018-06-06 17:50:51',
            'extend_type' => '',
            'extend_status' => '00000000',
            'orders_process_tag' => '0',
            );
        F('orders_shipping_extend',$orders_shipping_extend);
}
	/**
	 * 合并order信息
	 * @param init $o_id
	 */
	public function combinOrderInfo($o_id) {
		$res = F('combinOrderInfo');
		return $res;
		
	}
	public function getOrders($orders,$flag = true){
		$res = F('getOrders');
		return $res;
	}
	public function getOrdersStatus(){
		$res = F('getOrders');
		return $res[0]['orders_status'];
	}
	public function saveExtendValue($data){
		$orders_shipping_extend = F('orders_shipping_extend');
		if ($data) {
			$orders_shipping_extend['extend_value'] = $data['extend_value'];
			$orders_shipping_extend['orders_id']    = $data['orders_id'];
		}
		F('orders_shipping_extend',$orders_shipping_extend);
	}
	public function saveData($data){
		$getOrders = F('getOrders');
		$combinOrderInfo = F('combinOrderInfo');
		if($data['orders_status_children']){
			$getOrders[0]['orders_status_children'] = $data['orders_status_children'];
		}
		if($data['orders_tn']){
			$getOrders[0]['orders_tn'] = $data['orders_tn'];
			$combinOrderInfo['orders_tn'] = $data['orders_tn'];
		}
		F('getOrders',$getOrders);
		F('combinOrderInfo',$combinOrderInfo);
	}
	public function saveOrderHistory($id,$msg){
		$ordersHistory = F('ordersHistory');
		$ordersHistory = $ordersHistory?$ordersHistory:array();
		$ordersHistory[] = array(
			'orders_id'=>$id,	
			'orders_history_create_date'=>date("Y-m-d H:i:s",time()),
			'orders_history_create_time'=>time(),
			'user_id'=>Fn\App::userId(),
			'orders_history_remark'=>$msg				
			);
		F('ordersHistory',$ordersHistory);
	}
}
